package com.team6.cet.entity;
import java.io.Serializable;

import javax.annotation.Generated;

import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;
  	  
public class OrdinaryUser implements Serializable {    
 
	    private Long Id;    
	    private String IdNumber;    
	    private String OrdinaryUserName;
	    private String OrdinaryUserEmail;
	    private String OrdinaryUserPassword;
	    private int OrdinaryUserStatus;
	    private String OrdinaryUserImg; 
	    @Override    
	    public boolean equals(Object o) {    
	        if (this == o) return true;    
	        if (o == null || getClass() != o.getClass()) return false;    
	    
	        OrdinaryUser user = (OrdinaryUser) o;    
	    
	        if (Id != null ? !Id.equals(user.Id) : user.Id != null) return false;    
	    
	        return true;    
	    }    
	    
	    public Long getId() {
			return Id;
		}

		public void setId(Long id) {
			Id = id;
		}

		public String getIdNumber() {
			return IdNumber;
		}

		public void setIdNumber(String idNumber) {
			IdNumber = idNumber;
		}

		public String getOrdinaryUserName() {
			return OrdinaryUserName;
		}

		public void setOrdinaryUserName(String ordinaryUserName) {
			OrdinaryUserName = ordinaryUserName;
		}

		public String getOrdinaryUserEmail() {
			return OrdinaryUserEmail;
		}

		public void setOrdinaryUserEmail(String ordinaryUserEmail) {
			OrdinaryUserEmail = ordinaryUserEmail;
		}

		public String getOrdinaryUserPassword() {
			return OrdinaryUserPassword;
		}

		public void setOrdinaryUserPassword(String ordinaryUserPassword) {
			OrdinaryUserPassword = ordinaryUserPassword;
		}

		public int getOrdinaryUserStatus() {
			return OrdinaryUserStatus;
		}

		public void setOrdinaryUserStatus(int ordinaryUserStatus) {
			OrdinaryUserStatus = ordinaryUserStatus;
		}

		public String getOrdinaryUserImg() {
			return OrdinaryUserImg;
		}

		public void setOrdinaryUserImg(String ordinaryUserImg) {
			OrdinaryUserImg = ordinaryUserImg;
		}

		@Override    
	    public int hashCode() {    
	        return Id != null ? Id.hashCode() : 0;    
	    }    
	}    

